package com.improve.frame.log.properties;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;

/**
 * @Description
 *      日志配置
 * @Author wzxing918
 * @Date 2021-03-31
 * @Version 1.0.0
 **/
@Setter
@Getter
@ConfigurationProperties(prefix = "improve.log")
@RefreshScope
public class LogProperties {
    /**
     * 是否开启日志
     */
    private Boolean enabled = false;
    /**
     * 日志记录类型(logger/redis/db/es)
     */
    private String logType;
}
